const express = require("express")
const router = express.Router()
const anchorController = require("../controllers/anchorController")

// 主播管理路由
router.post("/admin/v1/anchor/audit", anchorController.auditAnchor)
router.get("/admin/v1/anchors", anchorController.getAnchorList)

// 主播端:

// 登录
router.post("/auth/anchor/login", anchorController.login)
// 获取主播个人信息
router.get("/core-facade/anchor/getInfo", anchorController.getInfo)
// 获取主播个人账号认证状态
router.get("/core-facade/anchor/checkInitAuthStatus", anchorController.getAuthStatus)

module.exports = router
